package com.lucy.nepu.module.paper.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author kindear
 */
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_paper_dict")
@ApiModel(value = "论文词典")
public class PaperDict extends BaseEntity implements Serializable {
    /**
     * 词典编码
     */
    @ApiModelProperty("分类编码")
    @Column(name = "code")
    String code;

    @ApiModelProperty(value = "论文类型",notes = "标志性论文等..")
    @Column(name = "paper_type")
    String paperType;

    @ApiModelProperty(value = "论文级别",notes = "A.B.C")
    @Column(name = "paper_level")
    String paperLevel;

    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    @Column(name = "workload_min",scale = 2)
    Double workloadMin;

    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    @Column(name = "workload_max",scale = 2)
    Double workloadMax;

}
